package com.design.cjm.structural.adapter.example;

/**
 * 通过内部包装一个adaptee对象，
 * 把源接口转换成目标接口
 *
 * @Author: Jie Ming Chen
 * @Date: 2018/9/24
 * @Version 1.0
 */
public class Adapter extends Target{

    private Adaptee adaptee = new Adaptee();

    @Override
    public void request() {

        adaptee.specificRequest();
    }
}
